/*
 * Created on 29 Mar 2007 by Andrew White
 */

package com.volatileshooter.networking.server.client;

import java.net.InetSocketAddress;

/*
 * Holds properties about each client connected to the server.
 */
public class Client {
    
    /* Unique Id number */
    public short id;

    /* Name of the player */
    public String name;

    /* The IP address and port of the client */
    public InetSocketAddress addr;

    /**
     * Creates a new instance of Client.
     * 
     * @param id - Unique Id for the client
     * @param name - Name of the player
     * @param addr - IP address and port of the client
     */
    public Client(short id, String name, InetSocketAddress addr) {
        this.id = id;
        this.name = name;
        this.addr = addr;
    }
    
}
